var arr = new Array();
var arr1 = new Array(2);
var arr2 = new Array("111","222","333");
console.log(arr);
console.log(arr1);
console.log(arr2);

// var arr3 = new  Array(11.5);
var arr4 = Array(2,3,5);
console.log(arr4);

var num=[1,2,3];
console.log(num);


var arr5 = [1,"3.5",{name:"zhangsan",age:18}];
console.log(arr5);

var count=[1,,3];
console.log(count[1]);

var colorArr = ["green"];
colorArr[1] = "yello";
colorArr[3] = "red";
console.log(colorArr);
console.log(colorArr[2]);


console.log("---------------------");
var n = [];
n[0] = "one";
n[1] = "two";
n["name"]="gga";
n[-2.33]=5;
console.log(n);
console.log(n.length);
n.length=100;
console.log(n);


// var p = {};
// p[0]="one";
// p[1] = "two";
// console.log(p);


var ppp = [1,2,3,4];
delete ppp[1];
console.log(ppp);
